package com.liaozhai.community.service;

import com.liaozhai.community.entity.DiscussPost;

import java.util.List;

public interface DiscussPostService {

    public List<DiscussPost> findDiscussPosts(int userId, int offset, int limit);

    public int findDiscussPostRows(int userId);

    public int addDiscussPost(DiscussPost discussPost);

    public DiscussPost findDiscussPostById(int id);

    public int updateCommentCount(int id, int commentCount);
}
